package zack.project.domain.task.service;

import zack.project.domain.task.model.entity.TaskEntity;

import java.util.List;

/**
 * @author A1793
 * 提供对task表的扫描操作和发送消息
 */
public interface ITaskService {

    List<TaskEntity> queryNoSendMessageTaskList();

    void sendMessage(TaskEntity taskEntity);

    void updateTaskSendMessageCompleted(String userId, String messageId);

    void updateTaskSendMessageFail(String userId, String messageId);

}
